package rbac.exception;

import rbac.enums.EntityDoNotExistExceptionMessage;

/**
 * RBAC 异常实现类. 此异常的抛出代表由某唯一标识所查询的实体不存在.
 * 
 * @author Huadi
 */
public class EntityDoNotExistException extends RbacException {

	private static final long serialVersionUID = 6221905746740634707L;

	public EntityDoNotExistException() {
	}

	public EntityDoNotExistException(EntityDoNotExistExceptionMessage m) {
		exceptionMessage = m.getErrorMessage();
		exceptionCode = m.getErrorCode();
	}

}
